import csv
""" 获取数据"""

def getData():
    with open("./data/data.csv", encoding="gbk") as df:
        content = csv.reader(df) # 生成迭代对象
        lis = []
        for i in content:
            lis.append(i)
        return lis
if __name__ == "__main__":
    print(getData())

